package org.hughie.springframework.beans.factory;

import org.hughie.springframework.beans.BeansException;

/**
 * Defines a factory which can return an Object instance (possibly shared or independent) when invoked.
 *
 * @author hughie.cheng
 * @since 2023/9/15
 */
public interface ObjectFactory<T> {

    T getObject() throws BeansException;
}
